<%@page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
<%@ include file="/WEB-INF/jsp/commons/includes.jsp"%>

<c:if test="${not empty page}">
    <c:choose>
        <c:when test="${empty page.pageNo || page.pageNo<1}">
            <c:set var="pNo" value="1"/>
        </c:when>
        <c:otherwise>
            <c:set var="pNo" value="${page.pageNo}"/>
        </c:otherwise>
    </c:choose>

    <c:choose>
        <c:when test="${empty page.pageSize}">
            <c:set var="pSize" value="1"/>
        </c:when>
        <c:otherwise>
            <c:set var="pSize" value="${page.pageSize}"/>
        </c:otherwise>
    </c:choose>

    <input type="hidden" name="pageNo" value="${pNo}"/>
    <input type="hidden" name="pageSize" value="${pSize}"/>
</c:if>